DX11 CALCULATE SMOOTH MESH NORMALS
Calculates vertex normals for the mesh through interpolation between its face normals. This will give a smooth set of normals that may
or may not suit your needs - for anything more advanced you will probably want to provide your own normals either by setting them manually
through the vertex data functions or by having them exist in the vertex layout of any object file you import.
Note that if the associated vertex layout of the specified mesh does not have a NORMAL semantic, this function will do nothing.
Also note that this function will lock the vertex and index data of the mesh in order to update it; as such it would be more efficient to
call this function before unlocking the vertex / index data if you had previously locked them and are using this function to calculate the
normals for you instead of setting them yourself.
DX11 CALCULATE SMOOTH MESH NORMALS mesh
mesh
Dword
The mesh to calculate vertex normals (through interpolation of the face normals) of.
This function does not return a value.
MESH Functions Menu
DX11 Function Categories